import request from '@/utils/request'
let baseUrl = process.env.NODE_ENV === 'production' ? '/api/risk' : '/risk'
// 季度统计表
export const creditQuarter = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/report/risk-report/score-count-by-quarter',
    method: 'post',
    data
  })
// 月度统计表
export const creditMonth = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/report/risk-report/score-count-by-month',
    method: 'post',
    data
  })
